TARGET_LIB = ../binpsp/libengine.a

OBJS =  ./obj/CConfigReader.o\
		./obj/test.o\
		./obj/CGameLogger.o\
		./obj/CUserActionEventReceiver.o\
		./obj/CVideoHandler.o\
		./obj/CDynamicObjectLoader.o\
		./obj/CDeviceManager.o\
		./obj/gameEngine.o\
		./obj/CGameSceneManager.o\
		./obj/CGameSceneLoader.o\
		./obj/CDynamicObject.o\
		./obj/CNetworkDriver.o\
		./obj/CSocketLow.o\
		./obj/CSphereSceneNode.o\
		./obj/CAnimatedMeshB3d.o\
		./obj/pspaudiolib.o\
		./obj/CAudioDriver.o\
		./obj/MadFixed.o\
		./obj/CMemory.o\
		./obj/Frustum.o\
		./obj/CPSPGLTexture.o\
		./obj/CGUIProgressBar.o\
		./obj/CGUIButton.o\
		./obj/CGUICheckBox.o\
		./obj/CGUIComboBox.o\
		./obj/CGUIContextMenu.o\
		./obj/CGUIEditBox.o\
		./obj/CGUIEnvironment.o\
		./obj/CGUIFileOpenDialog.o\
		./obj/CGUIFont.o\
		./obj/CGUIImage.o\
		./obj/CGUIInOutFader.o\
		./obj/CGUIListBox.o\
		./obj/CGUIMenu.o\
		./obj/CGUIMeshViewer.o\
		./obj/CGUIMessageBox.o\
		./obj/CGUIModalScreen.o\
		./obj/CGUIScrollBar.o\
		./obj/CGUISkin.o\
		./obj/CGUIStaticText.o\
		./obj/CGUITabControl.o\
		./obj/CGUIToolBar.o\
		./obj/CGUIWindow.o\
		./video/Software/CSoftwareTexture.o\
        ./video/Null/CColorConverter.o\
        ./video/Null/CFPSCounter.o\
        ./video/Null/CImage.o\
        ./video/Null/CImageLoaderBmp.o\
        ./video/Null/CImageLoaderJPG.o\
        ./video/Null/CImageLoaderPCX.o\
        ./video/Null/CImageLoaderPNG.o\
        ./video/Null/CImageLoaderPSD.o\
        ./video/Null/CImageLoaderTGA.o\
        ./video/Null/CNullDriver.o\
        ./video/CVideoModeList.o\
        ./scene/loaders/C3DSMeshFileLoader.o\
        ./scene/loaders/CAnimatedMeshMS3D.o\
        ./scene/sceneNodes/CAnimatedMeshSceneNode.o\
        ./scene/sceneNodes/CBillboardSceneNode.o\
        ./scene/sceneNodes/CCameraFPSSceneNode.o\
        ./scene/sceneNodes/CCameraMayaSceneNode.o\
        ./scene/sceneNodes/CCameraSceneNode.o\
        ./scene/loaders/CColladaFileLoader.o\
        ./scene/loaders/CCSMLoader.o\
        ./scene/loaders/CDefaultMeshFormatLoader.o\
        ./scene/loaders/CDMFLoader.o\
        ./scene/sceneNodes/CDummyTransformationSceneNode.o\
        ./scene/sceneNodes/CEmptySceneNode.o\
        ./scene/CGeometryCreator.o\
        ./scene/sceneNodes/CLightSceneNode.o\
        ./scene/loaders/CLMTSMeshFileLoader.o\
        ./scene/CMeshManipulator.o\
        ./scene/sceneNodes/CMeshSceneNode.o\
        ./scene/collision/CMetaTriangleSelector.o\
        ./scene/loaders/CMY3DMeshFileLoader.o\
        ./scene/loaders/COCTLoader.o\
        ./scene/sceneNodes/COctTreeSceneNode.o\
        ./scene/collision/COctTreeTriangleSelector.o\
        ./scene/particleSystem/CParticleBoxEmitter.o\
        ./scene/particleSystem/CParticleFadeOutAffector.o\
        ./scene/particleSystem/CParticleGravityAffector.o\
        ./scene/particleSystem/CParticlePointEmitter.o\
        ./scene/particleSystem/CParticleSystemSceneNode.o\
        ./scene/loaders/CQ3LevelMesh.o\
        ./scene/collision/CSceneCollisionManager.o\
        ./scene/CSceneManager.o\
        ./scene/animators/CSceneNodeAnimatorCollisionResponse.o\
        ./scene/animators/CSceneNodeAnimatorDelete.o\
        ./scene/animators/CSceneNodeAnimatorFlyCircle.o\
        ./scene/animators/CSceneNodeAnimatorFlyStraight.o\
        ./scene/animators/CSceneNodeAnimatorFollowSpline.o\
        ./scene/animators/CSceneNodeAnimatorRotation.o\
        ./scene/animators/CSceneNodeAnimatorTexture.o\
        ./scene/sceneNodes/CSkyBoxSceneNode.o\
        ./scene/loaders/CStaticMeshOBJ.o\
        ./scene/sceneNodes/CTerrainSceneNode.o\
        ./scene/collision/CTerrainTriangleSelector.o\
        ./scene/sceneNodes/CTestSceneNode.o\
        ./scene/sceneNodes/CTextSceneNode.o\
        ./scene/collision/CTriangleBBSelector.o\
        ./scene/collision/CTriangleSelector.o\
        ./scene/sceneNodes/CWaterSurfaceSceneNode.o\
        ./scene/loaders/CXAnimationPlayer.o\
        ./scene/loaders/CXFileReader.o\
        ./scene/loaders/CXMeshFileLoader.o\
        ./io/CFileList.o\
        ./io/CFileSystem.o\
        ./io/CLimitReadFile.o\
        ./io/CMemoryReadFile.o\
        ./io/CReadFile.o\
        ./io/CWriteFile.o\
        ./io/CXMLReader.o\
        ./io/CXMLWriter.o\
        ./io/CZipReader.o\
        ./io/irrXML.o\
		./obj/bit.o\
		./obj/decoder.o\
		./obj/fixed.o\
		./obj/frame.o\
		./obj/huffman.o\
		./obj/layer12.o\
		./obj/layer3.o\
		./obj/stream.o\
		./obj/synth.o\
		./obj/timer.o\
		./obj/version.o\
		./obj/adler32.o\
		./obj/compress.o\
		./obj/crc32.o\
		./obj/deflate.o\
		./obj/inffast.o\
		./obj/inflate.o\
		./obj/inftrees.o\
		./obj/trees.o\
		./obj/uncompr.o\
		./obj/zutil.o\
		./obj/jcapimin.o\
		./obj/jcapistd.o\
		./obj/jccoefct.o\
		./obj/jccolor.o\
		./obj/jcdctmgr.o\
		./obj/jchuff.o\
		./obj/jcinit.o\
		./obj/jcmainct.o\
		./obj/jcmarker.o\
		./obj/jcmaster.o\
		./obj/jcomapi.o\
		./obj/jcparam.o\
		./obj/jcphuff.o\
		./obj/jcprepct.o\
		./obj/jcsample.o\
		./obj/jctrans.o\
		./obj/jdapimin.o\
		./obj/jdapistd.o\
		./obj/jdatadst.o\
		./obj/jdatasrc.o\
		./obj/jdcoefct.o\
		./obj/jdcolor.o\
		./obj/jddctmgr.o\
		./obj/jdhuff.o\
		./obj/jdinput.o\
		./obj/jdmainct.o\
		./obj/jdmarker.o\
		./obj/jdmaster.o\
		./obj/jdmerge.o\
		./obj/jdphuff.o\
		./obj/jdpostct.o\
		./obj/jdsample.o\
		./obj/jdtrans.o\
		./obj/jerror.o\
		./obj/jfdctflt.o\
		./obj/jfdctfst.o\
		./obj/jfdctint.o\
		./obj/jidctflt.o\
		./obj/jidctfst.o\
		./obj/jidctint.o\
		./obj/jidctred.o\
		./obj/jmemmgr.o\
		./obj/jmemnobs.o\
		./obj/jquant1.o\
		./obj/jquant2.o\
		./obj/jutils.o\
		./obj/rdbmp.o\
		./obj/rdcolmap.o\
		./obj/rdgif.o\
		./obj/rdppm.o\
		./obj/rdrle.o\
		./obj/rdswitch.o\
		./obj/rdtarga.o\
		./obj/transupp.o\
		./obj/wrbmp.o\
		./obj/wrgif.o\
		./obj/wrppm.o\
		./obj/wrrle.o\
		./obj/wrtarga.o\
		./obj/png.o\
		./obj/pngerror.o\
		./obj/pngget.o\
		./obj/pngmem.o\
		./obj/pngpread.o\
		./obj/pngread.o\
		./obj/pngrio.o\
		./obj/pngrtran.o\
		./obj/pngrutil.o\
		./obj/pngset.o\
		./obj/pngtrans.o\
		./obj/pngwio.o\
		./obj/pngwrite.o\
		./obj/pngwtran.o\
		./obj/pngwutil.o\
        ./irr/CLogger.o\
        ./irr/COSOperator.o\
        ./irr/CStringParameters.o\
        ./irr/Irrlicht.o\
        ./irr/os.o\
        ./scene/CMeshCache.o\
        ./obj/CPSPGLDriver.o\
        ./irr/CIrrDeviceStub.o\
        ./irr/CIrrDevicePSP.o $(RES)
        
PSP_FW_VERSION = 390

INCDIR =    ./include\
			./audio\
			./gui\
			./io\
			./irr/extern\
			./irr\
			./core\
			./game/scene/loaders\
			./game/actions\
			./game/core\
			./game/io\
			./game/net\
			./game/audio\
			./game/video\
			./include/core\
			./include/gui\
			./include/scene\
			./include/video\
			./include/audio\
			./include/net\
			./include/io\
			./include/game/actions\
			./include/game/audio\
			./include/game/core\
			./include/game/io\
			./include/game/net\
			./include/game/scene\
			./include/game/scene/loaders\
			./include/game/video\
			./include/game\
			./scene/animators\
			./scene/collision\
			./scene/loaders\
			./scene/particleSystem\
			./scene/sceneNodes\
			./scene\
			./video/Null\
			./video/Software\
			./video/Software2\
			./video/PSPGL\
			./video\
			./psp

CXXFLAGS	=	-O3	-G0 -fno-exceptions -fsingle-precision-constant -fomit-frame-pointer -ffast-math
CCFLAGS		=	$(CXXFLAGS) -DHAVE_CONFIG_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_FCNTL_H -DHAVE_ERRNO_H
CFLAGS		=	$(CCFLAGS)	-fno-rtti
ASFLAGS		=	-O3 -G0




LIBDIR =
LDFLAGS =

PSPSDK=$(shell psp-config --pspsdk-path)
include ./irrBuild.mak

./obj/CConfigReader.o: ./game/io/CConfigReader.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CConfigReader.o ./game/io/CConfigReader.cpp

./obj/test.o: ./game/test.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/test.o ./game/test.cpp

./obj/png.o: ./irr/extern/libpng/png.c
	$(CC) $(CXXFLAGS) -c -o ./obj/png.o ./irr/extern/libpng/png.c

./obj/pngerror.o: ./irr/extern/libpng/pngerror.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngerror.o ./irr/extern/libpng/pngerror.c

./obj/pngget.o: ./irr/extern/libpng/pngget.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngget.o ./irr/extern/libpng/pngget.c

./obj/pngmem.o: ./irr/extern/libpng/pngmem.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngmem.o ./irr/extern/libpng/pngmem.c

./obj/pngpread.o: ./irr/extern/libpng/pngpread.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngpread.o ./irr/extern/libpng/pngpread.c

./obj/pngread.o: ./irr/extern/libpng/pngread.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngread.o ./irr/extern/libpng/pngread.c

./obj/pngrio.o: ./irr/extern/libpng/pngrio.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngrio.o ./irr/extern/libpng/pngrio.c

./obj/pngrtran.o: ./irr/extern/libpng/pngrtran.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngrtran.o ./irr/extern/libpng/pngrtran.c

./obj/pngrutil.o: ./irr/extern/libpng/pngrutil.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngrutil.o ./irr/extern/libpng/pngrutil.c

./obj/pngset.o: ./irr/extern/libpng/pngset.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngset.o ./irr/extern/libpng/pngset.c

./obj/pngtrans.o: ./irr/extern/libpng/pngtrans.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngtrans.o ./irr/extern/libpng/pngtrans.c

./obj/pngwio.o: ./irr/extern/libpng/pngwio.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngwio.o ./irr/extern/libpng/pngwio.c

./obj/pngwrite.o: ./irr/extern/libpng/pngwrite.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngwrite.o ./irr/extern/libpng/pngwrite.c

./obj/pngwtran.o: ./irr/extern/libpng/pngwtran.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngwtran.o ./irr/extern/libpng/pngwtran.c

./obj/pngwutil.o: ./irr/extern/libpng/pngwutil.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pngwutil.o ./irr/extern/libpng/pngwutil.c

./obj/adler32.o: ./irr/extern/zlib/adler32.c
	$(CC) $(CXXFLAGS) -c -o ./obj/adler32.o ./irr/extern/zlib/adler32.c

./obj/compress.o: ./irr/extern/zlib/compress.c
	$(CC) $(CXXFLAGS) -c -o ./obj/compress.o ./irr/extern/zlib/compress.c

./obj/crc32.o: ./irr/extern/zlib/crc32.c
	$(CC) $(CXXFLAGS) -c -o ./obj/crc32.o ./irr/extern/zlib/crc32.c

./obj/deflate.o: ./irr/extern/zlib/deflate.c
	$(CC) $(CXXFLAGS) -c -o ./obj/deflate.o ./irr/extern/zlib/deflate.c

./obj/inffast.o: ./irr/extern/zlib/inffast.c
	$(CC) $(CXXFLAGS) -c -o ./obj/inffast.o ./irr/extern/zlib/inffast.c

./obj/inflate.o: ./irr/extern/zlib/inflate.c
	$(CC) $(CXXFLAGS) -c -o ./obj/inflate.o ./irr/extern/zlib/inflate.c

./obj/inftrees.o: ./irr/extern/zlib/inftrees.c
	$(CC) $(CXXFLAGS) -c -o ./obj/inftrees.o ./irr/extern/zlib/inftrees.c

./obj/trees.o: ./irr/extern/zlib/trees.c
	$(CC) $(CXXFLAGS) -c -o ./obj/trees.o ./irr/extern/zlib/trees.c

./obj/uncompr.o: ./irr/extern/zlib/uncompr.c
	$(CC) $(CXXFLAGS) -c -o ./obj/uncompr.o ./irr/extern/zlib/uncompr.c

./obj/zutil.o: ./irr/extern/zlib/zutil.c
	$(CC) $(CXXFLAGS) -c -o ./obj/zutil.o ./irr/extern/zlib/zutil.c

./obj/bit.o: ./irr/extern/libmad/bit.c
	$(CC) $(CXXFLAGS) -c -o ./obj/bit.o ./irr/extern/libmad/bit.c

./obj/decoder.o: ./irr/extern/libmad/decoder.c
	$(CC) $(CCFLAGS) -c -o ./obj/decoder.o ./irr/extern/libmad/decoder.c

./obj/fixed.o: ./irr/extern/libmad/fixed.c
	$(CC) $(CCFLAGS) -c -o ./obj/fixed.o ./irr/extern/libmad/fixed.c

./obj/frame.o: ./irr/extern/libmad/frame.c
	$(CC) $(CCFLAGS) -c -o ./obj/frame.o ./irr/extern/libmad/frame.c

./obj/huffman.o: ./irr/extern/libmad/huffman.c
	$(CC) $(CXXFLAGS) -c -o ./obj/huffman.o ./irr/extern/libmad/huffman.c

./obj/layer12.o: ./irr/extern/libmad/layer12.c
	$(CC) $(CCFLAGS) -c -o ./obj/layer12.o ./irr/extern/libmad/layer12.c

./obj/layer3.o: ./irr/extern/libmad/layer3.c
	$(CC) $(CCFLAGS) -c -o ./obj/layer3.o ./irr/extern/libmad/layer3.c

./obj/stream.o: ./irr/extern/libmad/stream.c
	$(CC) $(CXXFLAGS) -c -o ./obj/stream.o ./irr/extern/libmad/stream.c

./obj/synth.o: ./irr/extern/libmad/synth.c
	$(CC) $(CCFLAGS) -c -o ./obj/synth.o ./irr/extern/libmad/synth.c

./obj/timer.o: ./irr/extern/libmad/timer.c
	$(CC) $(CXXFLAGS) -c -o ./obj/timer.o ./irr/extern/libmad/timer.c

./obj/version.o: ./irr/extern/libmad/version.c
	$(CC) $(CXXFLAGS) -c -o ./obj/version.o ./irr/extern/libmad/version.c

./obj/CSphereSceneNode.o: ./scene/sceneNodes/CSphereSceneNode.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CSphereSceneNode.o ./scene/sceneNodes/CSphereSceneNode.cpp

./obj/CAnimatedMeshB3d.o: ./scene/loaders/CAnimatedMeshB3d.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CAnimatedMeshB3d.o ./scene/loaders/CAnimatedMeshB3d.cpp

./obj/CMemory.o: ./core/CMemory.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CMemory.o ./core/CMemory.cpp

./obj/Frustum.o: ./psp/Frustum.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/Frustum.o ./psp/Frustum.cpp

./obj/CPSPGLTexture.o: ./video/PSPGL/CPSPGLTexture.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CPSPGLTexture.o ./video/PSPGL/CPSPGLTexture.cpp

./obj/CGUIProgressBar.o: ./gui/CGUIProgressBar.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIProgressBar.o ./gui/CGUIProgressBar.cpp

./obj/CGUIButton.o: ./gui/CGUIButton.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIButton.o ./gui/CGUIButton.cpp

./obj/CGUICheckBox.o: ./gui/CGUICheckBox.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUICheckBox.o ./gui/CGUICheckBox.cpp

./obj/CGUIComboBox.o: ./gui/CGUIComboBox.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIComboBox.o ./gui/CGUIComboBox.cpp

./obj/CGUIContextMenu.o: ./gui/CGUIContextMenu.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIContextMenu.o ./gui/CGUIContextMenu.cpp

./obj/CGUIEditBox.o: ./gui/CGUIEditBox.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIEditBox.o ./gui/CGUIEditBox.cpp

./obj/CGUIEnvironment.o: ./gui/CGUIEnvironment.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIEnvironment.o ./gui/CGUIEnvironment.cpp

./obj/CGUIFileOpenDialog.o: ./gui/CGUIFileOpenDialog.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIFileOpenDialog.o ./gui/CGUIFileOpenDialog.cpp

./obj/CGUIFont.o: ./gui/CGUIFont.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIFont.o ./gui/CGUIFont.cpp

./obj/CGUIImage.o: ./gui/CGUIImage.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIImage.o ./gui/CGUIImage.cpp

./obj/CGUIInOutFader.o: ./gui/CGUIInOutFader.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIInOutFader.o ./gui/CGUIInOutFader.cpp

./obj/CGUIListBox.o: ./gui/CGUIListBox.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIListBox.o ./gui/CGUIListBox.cpp

./obj/CGUIMenu.o: ./gui/CGUIMenu.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIMenu.o ./gui/CGUIMenu.cpp

./obj/CGUIMeshViewer.o: ./gui/CGUIMeshViewer.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIMeshViewer.o ./gui/CGUIMeshViewer.cpp

./obj/CGUIMessageBox.o: ./gui/CGUIMessageBox.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIMessageBox.o ./gui/CGUIMessageBox.cpp

./obj/CGUIModalScreen.o: ./gui/CGUIModalScreen.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIModalScreen.o ./gui/CGUIModalScreen.cpp

./obj/CGUIScrollBar.o: ./gui/CGUIScrollBar.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIScrollBar.o ./gui/CGUIScrollBar.cpp

./obj/CGUISkin.o: ./gui/CGUISkin.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUISkin.o ./gui/CGUISkin.cpp

./obj/CGUIStaticText.o: ./gui/CGUIStaticText.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIStaticText.o ./gui/CGUIStaticText.cpp

./obj/CGUITabControl.o: ./gui/CGUITabControl.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUITabControl.o ./gui/CGUITabControl.cpp

./obj/CGUIToolBar.o: ./gui/CGUIToolBar.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIToolBar.o ./gui/CGUIToolBar.cpp

./obj/CGUIWindow.o: ./gui/CGUIWindow.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGUIWindow.o ./gui/CGUIWindow.cpp

./obj/CGameLogger.o: ./game/core/CGameLogger.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGameLogger.o ./game/core/CGameLogger.cpp

./obj/CUserActionEventReceiver.o: ./game/actions/CUserActionEventReceiver.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CUserActionEventReceiver.o ./game/actions/CUserActionEventReceiver.cpp

./obj/CVideoHandler.o: ./game/video/CVideoHandler.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CVideoHandler.o ./game/video/CVideoHandler.cpp

./obj/CDynamicObjectLoader.o: ./game/scene/loaders/CDynamicObjectLoader.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CDynamicObjectLoader.o ./game/scene/CDynamicObjectLoader.cpp

./obj/CDeviceManager.o: ./game/CDeviceManager.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CDeviceManager.o ./game/CDeviceManager.cpp

./obj/gameEngine.o: ./game/gameEngine.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/gameEngine.o ./game/gameEngine.cpp

./obj/CGameSceneManager.o: ./game/scene/CGameSceneManager.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGameSceneManager.o ./game/scene/CGameSceneManager.cpp

./obj/CGameSceneLoader.o: ./game/scene/loaders/CGameSceneLoader.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CGameSceneLoader.o ./game/scene/loaders/CGameSceneLoader.cpp

./obj/CDynamicObject.o: ./game/scene/CDynamicObject.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CDynamicObject.o ./game/scene/CDynamicObject.cpp

./obj/CDynamicObjectLoader.o: ./game/scene/loaders/CDynamicObjectLoader.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CDynamicObjectLoader.o ./game/scene/loaders/CDynamicObjectLoader.cpp

CDeviceManager.o: ./game/CDeviceManager.cpp
	$(CXX) $(CXXFLAGS) -c -o ./obj/CDeviceManager.o ./game/CDeviceManager.cpp

./obj/pspaudiolib.o: ./game/audio/pspaudiolib.c
	$(CC) $(CXXFLAGS) -c -o ./obj/pspaudiolib.o ./game/audio/pspaudiolib.c

./obj/MadFixed.o : ./psp/MadFixed.c
	$(CC) $(CXXFLAGS) -c -o ./obj/MadFixed.o ./psp/MadFixed.c

./obj/CNetworkDriver.o : ./game/net/CNetworkDriver.cpp
	$(CC) $(CFLAGS) -c -o ./obj/CNetworkDriver.o ./game/net/CNetworkDriver.cpp

./obj/CSocketLow.o : ./game/net/CSocketLow.cpp
	$(CC) $(CFLAGS) -c -o ./obj/CSocketLow.o ./game/net/CSocketLow.cpp

./obj/CAudioDriver.o : ./game/audio/CAudioDriver.cpp
	$(CC) $(CFLAGS) -c -o ./obj/CAudioDriver.o ./game/audio/CAudioDriver.cpp

./obj/CPSPGLDriver.o : ./video/PSPGL/CPSPGLDriver.cpp
	$(CC) $(CFLAGS) -c -o ./obj/CPSPGLDriver.o ./video/PSPGL/CPSPGLDriver.cpp

./obj/jcapimin.o : ./irr/extern/jpeglib/jcapimin.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcapimin.o  ./irr/extern/jpeglib/jcapimin.c
	
./obj/jcapistd.o : ./irr/extern/jpeglib/jcapistd.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcapistd.o  ./irr/extern/jpeglib/jcapistd.c
	
./obj/jccoefct.o : ./irr/extern/jpeglib/jccoefct.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jccoefct.o  ./irr/extern/jpeglib/jccoefct.c

./obj/jccolor.o : ./irr/extern/jpeglib/jccolor.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jccolor.o  ./irr/extern/jpeglib/jccolor.c

./obj/jcdctmgr.o : ./irr/extern/jpeglib/jcdctmgr.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcdctmgr.o  ./irr/extern/jpeglib/jcdctmgr.c

./obj/jchuff.o : ./irr/extern/jpeglib/jchuff.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jchuff.o  ./irr/extern/jpeglib/jchuff.c

./obj/jcinit.o : ./irr/extern/jpeglib/jcinit.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcinit.o  ./irr/extern/jpeglib/jcinit.c

./obj/jcmainct.o : ./irr/extern/jpeglib/jcmainct.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcmainct.o  ./irr/extern/jpeglib/jcmainct.c

./obj/jcmarker.o : ./irr/extern/jpeglib/jcmarker.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcmarker.o  ./irr/extern/jpeglib/jcmarker.c

./obj/jcmaster.o : ./irr/extern/jpeglib/jcmaster.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcmaster.o  ./irr/extern/jpeglib/jcmaster.c

./obj/jcomapi.o : ./irr/extern/jpeglib/jcomapi.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcomapi.o  ./irr/extern/jpeglib/jcomapi.c

./obj/jcparam.o : ./irr/extern/jpeglib/jcparam.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcparam.o  ./irr/extern/jpeglib/jcparam.c

./obj/jcphuff.o : ./irr/extern/jpeglib/jcphuff.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcphuff.o  ./irr/extern/jpeglib/jcphuff.c

./obj/jcprepct.o : ./irr/extern/jpeglib/jcprepct.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcprepct.o  ./irr/extern/jpeglib/jcprepct.c

./obj/jcsample.o : ./irr/extern/jpeglib/jcsample.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jcsample.o  ./irr/extern/jpeglib/jcsample.c

./obj/jctrans.o : ./irr/extern/jpeglib/jctrans.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jctrans.o  ./irr/extern/jpeglib/jctrans.c

./obj/jdapimin.o : ./irr/extern/jpeglib/jdapimin.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdapimin.o  ./irr/extern/jpeglib/jdapimin.c

./obj/jdapistd.o : ./irr/extern/jpeglib/jdapistd.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdapistd.o  ./irr/extern/jpeglib/jdapistd.c

./obj/jdatadst.o : ./irr/extern/jpeglib/jdatadst.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdatadst.o  ./irr/extern/jpeglib/jdatadst.c

./obj/jdatasrc.o : ./irr/extern/jpeglib/jdatasrc.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdatasrc.o  ./irr/extern/jpeglib/jdatasrc.c

./obj/jdcoefct.o : ./irr/extern/jpeglib/jdcoefct.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdcoefct.o  ./irr/extern/jpeglib/jdcoefct.c

./obj/jdcolor.o : ./irr/extern/jpeglib/jdcolor.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdcolor.o  ./irr/extern/jpeglib/jdcolor.c

./obj/jddctmgr.o : ./irr/extern/jpeglib/jddctmgr.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jddctmgr.o  ./irr/extern/jpeglib/jddctmgr.c

./obj/jdhuff.o : ./irr/extern/jpeglib/jdhuff.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdhuff.o  ./irr/extern/jpeglib/jdhuff.c

./obj/jdinput.o : ./irr/extern/jpeglib/jdinput.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdinput.o  ./irr/extern/jpeglib/jdinput.c

./obj/jdmainct.o : ./irr/extern/jpeglib/jdmainct.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdmainct.o  ./irr/extern/jpeglib/jdmainct.c

./obj/jdmarker.o : ./irr/extern/jpeglib/jdmarker.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdmarker.o  ./irr/extern/jpeglib/jdmarker.c

./obj/jdmaster.o : ./irr/extern/jpeglib/jdmaster.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdmaster.o  ./irr/extern/jpeglib/jdmaster.c

./obj/jdmerge.o : ./irr/extern/jpeglib/jdmerge.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdmerge.o  ./irr/extern/jpeglib/jdmerge.c

./obj/jdphuff.o : ./irr/extern/jpeglib/jdphuff.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdphuff.o  ./irr/extern/jpeglib/jdphuff.c

./obj/jdpostct.o : ./irr/extern/jpeglib/jdpostct.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdpostct.o  ./irr/extern/jpeglib/jdpostct.c

./obj/jdsample.o : ./irr/extern/jpeglib/jdsample.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdsample.o  ./irr/extern/jpeglib/jdsample.c

./obj/jdtrans.o : ./irr/extern/jpeglib/jdtrans.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jdtrans.o  ./irr/extern/jpeglib/jdtrans.c

./obj/jerror.o : ./irr/extern/jpeglib/jerror.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jerror.o  ./irr/extern/jpeglib/jerror.c

./obj/jfdctflt.o : ./irr/extern/jpeglib/jfdctflt.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jfdctflt.o  ./irr/extern/jpeglib/jfdctflt.c

./obj/jfdctfst.o : ./irr/extern/jpeglib/jfdctfst.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jfdctfst.o  ./irr/extern/jpeglib/jfdctfst.c

./obj/jfdctint.o : ./irr/extern/jpeglib/jfdctint.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jfdctint.o  ./irr/extern/jpeglib/jfdctint.c

./obj/jidctflt.o : ./irr/extern/jpeglib/jidctflt.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jidctflt.o  ./irr/extern/jpeglib/jidctflt.c

./obj/jidctfst.o : ./irr/extern/jpeglib/jidctfst.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jidctfst.o  ./irr/extern/jpeglib/jidctfst.c

./obj/jidctint.o : ./irr/extern/jpeglib/jidctint.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jidctint.o  ./irr/extern/jpeglib/jidctint.c

./obj/jidctred.o : ./irr/extern/jpeglib/jidctred.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jidctred.o  ./irr/extern/jpeglib/jidctred.c

./obj/jmemmgr.o : ./irr/extern/jpeglib/jmemmgr.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jmemmgr.o  ./irr/extern/jpeglib/jmemmgr.c

./obj/jmemnobs.o : ./irr/extern/jpeglib/jmemnobs.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jmemnobs.o  ./irr/extern/jpeglib/jmemnobs.c

./obj/jquant1.o : ./irr/extern/jpeglib/jquant1.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jquant1.o  ./irr/extern/jpeglib/jquant1.c

./obj/jquant2.o : ./irr/extern/jpeglib/jquant2.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jquant2.o  ./irr/extern/jpeglib/jquant2.c

./obj/jutils.o : ./irr/extern/jpeglib/jutils.c
	$(CC) $(CXXFLAGS) -c -o ./obj/jutils.o  ./irr/extern/jpeglib/jutils.c

./obj/rdbmp.o : ./irr/extern/jpeglib/rdbmp.c
	$(CC) $(CXXFLAGS) -c -o ./obj/rdbmp.o  ./irr/extern/jpeglib/rdbmp.c

./obj/rdcolmap.o : ./irr/extern/jpeglib/rdcolmap.c
	$(CC) $(CXXFLAGS) -c -o ./obj/rdcolmap.o  ./irr/extern/jpeglib/rdcolmap.c

./obj/rdgif.o : ./irr/extern/jpeglib/rdgif.c
	$(CC) $(CXXFLAGS) -c -o ./obj/rdgif.o  ./irr/extern/jpeglib/rdgif.c

./obj/rdppm.o : ./irr/extern/jpeglib/rdppm.c
	$(CC) $(CXXFLAGS) -c -o ./obj/rdppm.o  ./irr/extern/jpeglib/rdppm.c

./obj/rdrle.o : ./irr/extern/jpeglib/rdrle.c
	$(CC) $(CXXFLAGS) -c -o ./obj/rdrle.o  ./irr/extern/jpeglib/rdrle.c

./obj/rdswitch.o : ./irr/extern/jpeglib/rdswitch.c
	$(CC) $(CXXFLAGS) -c -o ./obj/rdswitch.o  ./irr/extern/jpeglib/rdswitch.c

./obj/rdtarga.o : ./irr/extern/jpeglib/rdtarga.c
	$(CC) $(CXXFLAGS) -c -o ./obj/rdtarga.o  ./irr/extern/jpeglib/rdtarga.c

./obj/transupp.o : ./irr/extern/jpeglib/transupp.c
	$(CC) $(CXXFLAGS) -c -o ./obj/transupp.o  ./irr/extern/jpeglib/transupp.c

./obj/wrbmp.o : ./irr/extern/jpeglib/wrbmp.c
	$(CC) $(CXXFLAGS) -c -o ./obj/wrbmp.o  ./irr/extern/jpeglib/wrbmp.c

./obj/wrgif.o : ./irr/extern/jpeglib/wrgif.c
	$(CC) $(CXXFLAGS) -c -o ./obj/wrgif.o  ./irr/extern/jpeglib/wrgif.c

./obj/wrppm.o : ./irr/extern/jpeglib/wrppm.c
	$(CC) $(CXXFLAGS) -c -o ./obj/wrppm.o  ./irr/extern/jpeglib/wrppm.c

./obj/wrrle.o : ./irr/extern/jpeglib/wrrle.c
	$(CC) $(CXXFLAGS) -c -o ./obj/wrrle.o  ./irr/extern/jpeglib/wrrle.c

./obj/wrtarga.o : ./irr/extern/jpeglib/wrtarga.c
	$(CC) $(CXXFLAGS) -c -o ./obj/wrtarga.o  ./irr/extern/jpeglib/wrtarga.c


install:
	CMD /C MOVE  ./libengine.a ../binpsp/libengine.a 
